<?php

function createWireframe($datos){
	$sl=construct_insert_fields($datos);
	
	$query="INSERT INTO wireframes $sl";
	
	$r=mysql_query($query);
	return $r;
}

function getWireframe_by_proyect_id($id){
	$sl="SELECT * FROM wireframes WHERE proyect_id=$id";
	$r=mysql_query($sl);
	return $r;
}

function getWireframe_by_id($id){
	$sl="SELECT * FROM wireframes WHERE id=$id";
	$r=mysql_query($sl);
	return $r;
}

?>